package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.AdminUserRoleMapper;
import com.rongke.model.AdminUserRole;
import com.rongke.service.AdminUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @AdminUserRoleServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class AdminUserRoleServiceImpl extends ServiceImpl<AdminUserRoleMapper, AdminUserRole> implements AdminUserRoleService {

    @Autowired
    private AdminUserRoleMapper adminUserRoleMapper;

    /**
     * @根据条件查找
     * @param adminUserRole
     * @return
     */
    @Override
    public List<AdminUserRole> selectByCondition(AdminUserRole adminUserRole) {
        return adminUserRoleMapper.selectByCondition(adminUserRole);
    }
}
